package io.renren.modules.pet.service;

import io.renren.common.service.CrudService;
import io.renren.modules.pet.vo.PetLostCommentVO;
import io.renren.modules.pet.dto.PetLostCommentDTO;
import io.renren.modules.pet.entity.PetLostCommentEntity;

import java.util.List;

/**
 * 丢失宠物评论表
 *
 * @author zwp zwp
 * @since 1.0.0 2025-03-21
 */
public interface PetLostCommentService extends CrudService<PetLostCommentEntity, PetLostCommentVO> {
    
    /**
     * 保存
     * @param petLostCommentDTO
     */
    void save(PetLostCommentDTO petLostCommentDTO);
    
    /**
     * 修改
     * @param petLostCommentDTO
     */
    void update(PetLostCommentDTO petLostCommentDTO);

    /**
     * 获取丢失宠物评论
     * @param petLostId
     * @return
     */
    List<PetLostCommentVO> getPetLostComment(Long petLostId);

    /**
     * 删除丢失宠物评论
     * @param petLostId
     * @return
     */
    void delByPetLostId(Long petLostId);
}